import request from '@/axios'

export function getDrainsList() {
    return request({
        url: '/selectAll',
        method: 'get'
    })
}

export function okDrains(customer) {
    return request({
        url: '/okDrains',
        method: 'put',
        params: customer
    })
}

export function findById(id) {
    return request({
        url: '/selectbyId/' + id,
        method: 'get',
    })
}